package com.my.bean;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.util.function.LongFunction;

/**
 * <p>
 * 已经预约产康项目安排
 * </p>
 *
 * @author 冯政尚
 * @since 2018-08-26
 */
@TableName("already_appointment")
public class AlreadyAppointment extends Model<AlreadyAppointment> {

    private static final long serialVersionUID = 1L;

    /**
     * 已经预约产康项目安排
     */
	private Long id;
    /**
     * 房间id
     */
	@TableField("home_id")
	private Long homeId;
    /**
     * 客户预约时间
     */
	@TableField("appointment_time")
	private Long appointmentTime;
    /**
     * 预约项目人
     */
	@TableField("subscribe_person")
	private String subscribePerson;
    /**
     * 负责接的客户(负责人)
     */
	private String principal;

	public Integer getJude() {
		return jude;
	}

	public void setJude(Integer jude) {
		this.jude = jude;
	}

	@TableField("jude")
	 private  Integer jude;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getHomeId() {
		return homeId;
	}

	public void setHomeId(Long homeId) {
		this.homeId = homeId;
	}

	public Long getAppointmentTime() {
		return appointmentTime;
	}

	public void setAppointmentTime(Long appointmentTime) {
		this.appointmentTime = appointmentTime;
	}

	public String getSubscribePerson() {
		return subscribePerson;
	}

	public void setSubscribePerson(String subscribePerson) {
		this.subscribePerson = subscribePerson;
	}

	public String getPrincipal() {
		return principal;
	}

	public void setPrincipal(String principal) {
		this.principal = principal;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "AlreadyAppointment{" +
				"id=" + id +
				", homeId=" + homeId +
				", appointmentTime=" + appointmentTime +
				", subscribePerson='" + subscribePerson + '\'' +
				", principal='" + principal + '\'' +
				", jude=" + jude +
				'}';
	}
}
